package com.haier.bims.frozenbox.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.haier.bims.frozenbox.bean.Frozenbox;
import com.haier.bims.frozenbox.dao.FrozenboxDAO;
import com.haier.bims.frozenbox.service.IFrozenboxService;
import com.haier.bims.samples.bean.Samples;

@Component
public class FrozenboxServiceImpl implements IFrozenboxService {
	
	private FrozenboxDAO frozenboxDAO;

	@Autowired
	public void setFrozenboxDAO(FrozenboxDAO frozenboxDAO) {
		this.frozenboxDAO = frozenboxDAO;
	}

	@Override
	public List<Frozenbox> getFrozenboxInfo(List<String> ids) {
		return frozenboxDAO.getFrozenboxInfo(ids);
	}

	@Override
	public List<Samples> getFrozenboxSamples(String id) {
		return frozenboxDAO.getFrozenboxSamples(id);
	}
	
}
